IF OBJECT_ID('ssf.regex_split_singleline') IS NOT NULL
	DROP FUNCTION [ssf].[regex_split_singleline];
GO

CREATE FUNCTION [ssf].[regex_split_singleline](
	@input NVARCHAR(MAX)
	, @pattern NVARCHAR(MAX)
)
RETURNS TABLE (
	position INT
	, element NVARCHAR(MAX)
)
AS
EXTERNAL NAME [UtilityRegex].[SQLServerFramework.UtilityRegex].[RegexSplitSingleline]
GO
